package org.example.ssmioc2.bean;

import org.example.ssmioc2.User.Datauser;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
class userData{
     @Bean(initMethod = "init",destroyMethod = "destroy")
   public Datauser getDatauser(){
       return new Datauser();
   }
}